WP_Defender\Component\Backup_Settings D

Total Complexity 252
Dependencies 31
Dependents 4
Total lines 1,395
Lines of code 1,160
Logical lines of code 534
Comment lines 159
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
restore_data()
D
12
86 289
create_default_module_strings()
C
34 28 98
import_module_strings()
B
41 20 55
gather_data()
A
29
5 145
module_to_controller()
A
47 12 36
create_basic_config()
A
27
2 180
model_labels()
A
45 11 44
is_any_scan_active()
A
53 11 24
module_to_name()
A
52 10 24
change_subscriber_format()
A
56 8 20
parse_data_for_hub()
A
48 7 34
prepare_config_labels()
S
54 7 21
format_audit_log_strings()
S
50 6 32
format_blocklist_monitor_strings()
S
53 5 26
parse_data_for_import()
S
55 4 21
get_configs()
S
58 4 16
verify_config_data()
S
66 4 8
get_decoded_settings()
S
64 4 10
clear_configs()
S
63 4 10
backup_data()
S
59 3 14
make_config_active()
S
62 3 11
get_prev_settings()
S
54 2 20
maybe_create_default_config()
S
65 3 9
remove_index()
S
71 1 5
index_key()
S
72 1 5
check_for_new_structure()
S
78 1 3